|
Расположение в меню |
---|
Архитектура → Опрос/анкетирование |
Верстаки |
Arch |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
FCInfo (macro) |
Инструмент Анализ переходит в специальный режим отображения, который позволяет быстро захватывать измерения и информацию с модели и передавать эту информацию другим приложениям. Когда вы находитесь в режиме Анализа, выбор различных под элементов трехмерных объектов предоставляет следующую информацию (в зависимости от того, что вы выбираете):
When such a piece of information is gathered, several things happen:
The above image shows what happens when running the survey mode.
See also: Arch API and FreeCAD Scripting Basics.
The Survey tool doesn't have a programming interface, but gathering the same information from any selected Part-based object is reproduced with the following script:
import FreeCADGui
selection = FreeCADGui.Selection.getSelectionEx()
for obj in selection:
for element in obj.SubObjects:
print("Area: %f", element.Area)
print("Length: %f", element.Length)
print("Volume: %f", element.Volume)
print("Center of Mass: %f", element.CenterOfMass)